package com.lzb.permanentcalendar;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.databinding.ViewDataBinding;

import com.lzb.permanentcalendar.basic.utils.StatusBarUtils;


public abstract class BaseAc<DB extends ViewDataBinding> extends BaseNoModelActivity<DB> {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        StatusBarUtils.with(this).init();
        StatusBarUtils.setStatusBarTranslate(this);
        //设置状态栏字体颜色
        StatusBarUtils.setSystemStatusTextColor(isStatusBarTextDark(), this);
    }

    protected boolean isStatusBarTextDark() {
        return true;
    }


}
